home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 2.iso / winsock / ircii2-6.zip / SRC\IRCII-2.6\INCLUDE\STACK.H < prev    next >
C/C++ Source or Header  |  1994-12-28  |  697b  |  47 lines

  1. /*
  2.  * stack.h - header for stack.c
  3.  *
  4.  * Written by Matthew Green
  5.  *
  6.  * Copyright (C) 1993.
  7.  *
  8.  * @(#)$Id: stack.h,v 1.7 1994/07/02 02:38:10 mrg Stab $
  9.  */
  10.  
  11. #ifndef __stack_h_
  12. # define __stack_h_
  13.  
  14. #include "hook.h"
  15. #include "alias.h"
  16.  
  17. #define STACK_POP 0
  18. #define STACK_PUSH 1
  19. #define STACK_SWAP 2
  20. #define STACK_LIST 3
  21.  
  22. #define STACK_DO_ALIAS    0x0001
  23. #define STACK_DO_ASSIGN    0x0002
  24.  
  25. typedef    struct    setstacklist
  26. {
  27.     int    which;
  28.     Hook    *list;
  29.     struct setstacklist *next;
  30. }    SetStack;
  31.  
  32. typedef    struct    aliasstacklist
  33. {
  34.     int    which;
  35.     Alias    *list;
  36.     struct aliasstacklist *next;
  37. }    AliasStack;
  38.  
  39. typedef    struct    onstacklist
  40. {
  41.     int    which;
  42.     Hook    *list;
  43.     struct onstacklist *next;
  44. }    OnStack;
  45.  
  46. #endif /* __stack_h_ */
  47.